package ee.karileet.productcatalogue.service;
import ee.karileet.productcatalogue.model.Group;

/**
 * @author Markus Karileet
 * @version 1.0
 * @created 29-nov-2013 16:09:21
 */
public interface IGroup {

	/**
	 * 
	 * @param group    group
	 */
	public boolean addGroup(Group group);

	/**
	 * 
	 * @param groupId    groupId
	 * @throws Exception 
	 */
	public Group getGroup(int groupId) throws Exception;

	public java.util.Set<Group> listGroups();

	/**
	 * 
	 * @param groupId    groupId
	 * @throws Exception 
	 */
	public void removeGroup(int groupId) throws Exception;

	/**
	 * 
	 * @param group    group
	 */
	public boolean updateGroup(Group group);

}